// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using Elastic.Clients.Elasticsearch.Fluent;
using Elastic.Clients.Elasticsearch.Serialization;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace Elastic.Clients.Elasticsearch.Core.Search;

public sealed partial class ShardProfile
{
	[JsonInclude, JsonPropertyName("aggregations")]
	public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Core.Search.AggregationProfile> Aggregations { get; init; }
	[JsonInclude, JsonPropertyName("cluster")]
	public string Cluster { get; init; }
	[JsonInclude, JsonPropertyName("dfs")]
	public Elastic.Clients.Elasticsearch.Core.Search.DfsProfile? Dfs { get; init; }
	[JsonInclude, JsonPropertyName("fetch")]
	public Elastic.Clients.Elasticsearch.Core.Search.FetchProfile? Fetch { get; init; }
	[JsonInclude, JsonPropertyName("id")]
	public string Id { get; init; }
	[JsonInclude, JsonPropertyName("index")]
	public string Index { get; init; }
	[JsonInclude, JsonPropertyName("node_id")]
	public string NodeId { get; init; }
	[JsonInclude, JsonPropertyName("searches")]
	public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Core.Search.SearchProfile> Searches { get; init; }
	[JsonInclude, JsonPropertyName("shard_id")]
	public long ShardId { get; init; }
}